package com.example.project02springinitializr.service;

import com.example.project02springinitializr.domain.Student;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * DateTime: 2025/5/26 - 22:30
 * Author: ErickRen
 */
@Service
public class StudentService {

    @Resource
    private Student student;

    public Student getStudent() {
        System.out.println(student.toString());
        return student;
    }
}